<?php
			$str='http://'.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'];
			echo preg_replace( "/install[\/a-z.=&]*/", "", $str);
?>  

